﻿#ifndef INFORMATION_H
#define INFORMATION_H
#include<QSqlTableModel>
#include <QWidget>
#include"book_sql.h"
#include"customwidget.h"
#include"change_info.h"
namespace Ui {
class Information;
}

class Information : public QWidget
{
    Q_OBJECT

public:
//    book_sql * bok;
    explicit Information(QWidget *parent = nullptr);
    Change_info *a;
    QSqlDatabase db;
    ~Information();


private slots:
    void on_pushButton_clicked();

    void on_image_change_clicked();

private:
    Ui::Information *ui;
    QString user;
//    QSqlTableModel *model;
signals:
    void logoutClick();
};

#endif // INFORMATION_H
